# This scipt can change a block in a file.
import my_function as my
# block_head is a word without = and {
block_head = "available_for"
file_path = "/home/h/build/game-modify/hoi4/ai_templates/templates_My.txt"
new_block_content = ''

my.replace_block(file_path, block_head, new_block_content)
# print(new_block_content)